package cn.broadsense.thrid.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 事件编排枚举
 *
 * @author pengxin
 * @date 2022-10-08 10:25
 */
@Getter
@AllArgsConstructor
public enum EventArrangementEnum {
    END(0,"结束"),
    INTERRUPT(1,"中断（未使用)"),
    WAITING(2,"等待中（未使用)"),
    RUNNING(3,"运行中"),
    ABNORMAL(4,"异常"),
    SUSPEND(5,"暂停"),
    TO_BE_STARTED(6,"待启动"),
    PRETREATMENT_IN_PROGRESS(7,"预处理中"),
    GATEWAY_EXCEPTION(8,"抓图网关异常"),
    TASK_DELETION(-5,"任务删除"),
    MATCH_NULL(-1,"匹配空值"),
    ABNORMAL_STARTUP(99,"dp启动异常"),


    ;

    /**
     * 编码
     */
    private Integer code;

    /**
     * 描述
     */
    private String desc;
}
